cmake_minimum_required(VERSION 3.5)

set(CMAKE_CXX_STANDARD 17)
set(BUILD_SHARED_LIBS OFF)

#add_subdirectory("./3rd/SDL")
add_subdirectory("./3rd/EABase")
add_subdirectory("./3rd/EASTL")
add_subdirectory("./3rd/spdlog")
add_subdirectory("./3rd/mimalloc")
add_subdirectory("./3rd/entt")
add_subdirectory("./3rd/imgui")
add_subdirectory("./3rd/stb")
add_subdirectory("./3rd/protobuf")
add_subdirectory("./3rd/freetype")
add_subdirectory("./3rd/volk")
add_subdirectory("./3rd/glfw")
add_subdirectory("./3rd/JoltPhysics/Build")



#message("Begin PhysX ==========================================================")
#set(PHYSX_ROOT_DIR "${CMAKE_CURRENT_LIST_DIR}/3rd/PhysX/physx")
#set(PX_OUTPUT_LIB_DIR "${CMAKE_BINARY_DIR}/PX_OUTPUT_LIB_DIR")
#set(PX_OUTPUT_BIN_DIR "${CMAKE_BINARY_DIR}/PX_OUTPUT_BIN_DIR")
#set(TARGET_BUILD_PLATFORM "windows")
##set(PX_GENERATE_GPU_PROJECTS_ONLY ON)
#add_subdirectory("./3rd/PhysX/physx/compiler/public")
#message("End PhysX ==========================================================")

add_subdirectory("./utility")
#add_subdirectory("./Engine")
add_subdirectory("./SnakeBox")
